package com.hanxu.springcloud.service;
import com.hanxu.springcloud.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author hanjinge
 * @date 2022/4/1
 */

public interface DeptService{

    public boolean addDept(Dept dept);

    public Dept queryById(Long id);

    public List<Dept> queryAll();

}
